package kubayaxi.video.service.base.common.treadlocal;

/**
 * @Author jiangshicheng
 * @Description
 * @Date 2022/8/19 9:56
 */
public class UserContent {

    private static ThreadLocal<Long> userLocal = new ThreadLocal();

    public static Long get() {
        return userLocal.get();
    }

    public static void set(Long userId) {
        userLocal.set(userId);
    }
}
